package com.chtw.oasystem.bean;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Role {
    private Integer id;
    @JsonProperty("role_name")
    private String roleName;
    @JsonProperty("data_access")
    private Integer dataAccess;

    private Integer created;
    @JsonProperty("create_by")
    private String createBy;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public Integer getDataAccess() {
        return dataAccess;
    }

    public void setDataAccess(Integer dataAccess) {
        this.dataAccess = dataAccess;
    }

    public Integer getCreated() {
        return created;
    }

    public void setCreated(Integer created) {
        this.created = created;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }
}